package com.ruoyi.outcome.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 技术报告管理对象 research_tech_report
 * 
 * @author zxh
 * @date 2025-01-06
 */
public class ResearchTechReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报告唯一ID */
    private Long reportId;

    /** 关联的成果ID */
    @Excel(name = "关联的成果ID")
    private Long outcomeId;

    /** 技术报告标题 */
    @Excel(name = "技术报告标题")
    private String reportTitle;

    /** 报告完成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报告完成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportDate;

    /** 技术报告文件路径 */
    @Excel(name = "技术报告文件路径")
    private String reportFile;

    /** 技术报告摘要 */
    @Excel(name = "技术报告摘要")
    private String reportSummary;

    /** 创建人 */
    private String createdBy;

    /** 更新人 */
    private String updatedBy;

    /** 删除人 */
    private String deletedBy;

    /** 删除时间 */
    private Date deletedAt;

    /** 删除标志（0: 未删除, 1: 已删除） */
    private Integer isDeleted;

    /** 版本号 */
    private Long version;

    /** 创建时间 */
    private Date createdAt;

    /** 更新时间 */
    private Date updatedAt;

    private String md5;

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public void setReportId(Long reportId)
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setOutcomeId(Long outcomeId) 
    {
        this.outcomeId = outcomeId;
    }

    public Long getOutcomeId() 
    {
        return outcomeId;
    }
    public void setReportTitle(String reportTitle) 
    {
        this.reportTitle = reportTitle;
    }

    public String getReportTitle() 
    {
        return reportTitle;
    }
    public void setReportDate(Date reportDate) 
    {
        this.reportDate = reportDate;
    }

    public Date getReportDate() 
    {
        return reportDate;
    }
    public void setReportFile(String reportFile) 
    {
        this.reportFile = reportFile;
    }

    public String getReportFile() 
    {
        return reportFile;
    }
    public void setReportSummary(String reportSummary) 
    {
        this.reportSummary = reportSummary;
    }

    public String getReportSummary() 
    {
        return reportSummary;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setDeletedBy(String deletedBy) 
    {
        this.deletedBy = deletedBy;
    }

    public String getDeletedBy() 
    {
        return deletedBy;
    }
    public void setDeletedAt(Date deletedAt) 
    {
        this.deletedAt = deletedAt;
    }

    public Date getDeletedAt() 
    {
        return deletedAt;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("outcomeId", getOutcomeId())
            .append("reportTitle", getReportTitle())
            .append("reportDate", getReportDate())
            .append("reportFile", getReportFile())
            .append("reportSummary", getReportSummary())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .append("deletedBy", getDeletedBy())
            .append("deletedAt", getDeletedAt())
            .append("isDeleted", getIsDeleted())
            .append("version", getVersion())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
